package ua.kharkov.knure.mikhaylov.st4.db.enums;

/**
 * Represents user roles. NOTE: it's not been extracted from database, they just
 * must be equal.
 * 
 * @author Saint
 * 
 */
public enum Role {
	ADMIN, CLIENT;
	
	public int getOrdinal() {
		return ordinal();
	}

	public String getName() {
		return name().toLowerCase();
	}
}
